/*    */ package com.umeng.common.net;
/*    */ 
/*    */ import android.app.PendingIntent;
/*    */ import android.content.Context;
/*    */ import android.content.Intent;
/*    */ 
/*    */ public class m
/*    */ {
/*    */   public static final String a = "pause";
/*    */   public static final String b = "continue";
/*    */   public static final String c = "cancel";
/*    */   public static final String d = "com.umeng.intent.DOWNLOAD";
/*    */   public static final String e = "com.umeng.broadcast.download.msg";
/*    */ 
/*    */   public static String a(int paramInt, String paramString)
/*    */   {
/* 37 */     if (paramInt == 0) {
/* 38 */       return null;
/*    */     }
/* 40 */     StringBuilder localStringBuilder = new StringBuilder(paramInt);
/* 41 */     localStringBuilder.append(":");
/* 42 */     localStringBuilder.append(paramString);
/*    */ 
/* 44 */     return localStringBuilder.toString();
/*    */   }
/*    */ 
/*    */   public static int a(a.a parama)
/*    */   {
/* 55 */     int i = (int)System.currentTimeMillis();
/* 56 */     if (i < 0) {
/* 57 */       i = -i;
/*    */     }
/* 59 */     return i;
/*    */   }
/*    */ 
/*    */   public static PendingIntent a(Context paramContext, String paramString) {
/* 63 */     Intent localIntent = new Intent("com.umeng.intent.DOWNLOAD");
/* 64 */     localIntent.addFlags(1073741824);
/* 65 */     localIntent.putExtra("com.umeng.broadcast.download.msg", paramString);
/* 66 */     PendingIntent localPendingIntent = PendingIntent.getBroadcast(paramContext, 
/* 67 */       paramString.hashCode(), localIntent, 
/* 68 */       134217728);
/* 69 */     return localPendingIntent;
/*    */   }
/*    */ 
/*    */   public static PendingIntent b(Context paramContext, String paramString) {
/* 73 */     Intent localIntent = new Intent(paramContext, DownloadingService.class);
/* 74 */     localIntent.putExtra("com.umeng.broadcast.download.msg", paramString);
/* 75 */     PendingIntent localPendingIntent = PendingIntent.getService(paramContext, 
/* 76 */       paramString.hashCode(), localIntent, 
/* 77 */       134217728);
/* 78 */     return localPendingIntent;
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\umeng_sdk.jar
 * Qualified Name:     com.umeng.common.net.m
 * JD-Core Version:    0.6.2
 */